package com.property.manage;


import com.guardchina.framework.web.EnableValidatorPlugins;
import com.guardchina.framework.web.EnableWebPlugins;
import com.guardchina.framework.web.plugins.exception.ExceptionHandlerConfiguration;
import com.guardchina.framework.web.plugins.response.ResultHolderResponseConfiguration;
import com.guardchina.framework.web.plugins.swagger.SwaggerConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author lwb
 */
@SpringBootApplication
@EnableValidatorPlugins
@EnableScheduling
@EnableWebPlugins(plugins = {ExceptionHandlerConfiguration.class, SwaggerConfiguration.class, ResultHolderResponseConfiguration.class})
@MapperScan("com.property.manage.dao")
public class ManageApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManageApplication.class, args);
    }

}
